#ifndef MYPLAYER_H
#define MYPLAYER_H

#include <QMainWindow>

QT_BEGIN_NAMESPACE
namespace Ui { class MyPlayer; }
QT_END_NAMESPACE

class Demux;
class MyPlayer : public QMainWindow
{
    Q_OBJECT

public:
    MyPlayer(QWidget *parent = nullptr);
    ~MyPlayer();

private slots:
    void on_updateTime(double currTime, double duration);


    void on_startBtn_clicked();

    void on_stopBtn_clicked();

    void on_pauseBtn_clicked();

    void on_speedSB_textChanged(const QString &arg1);

    void on_previousFrameBtn_clicked();


    void on_previousFrameBtn_2_clicked();

    void on_nextFrameBtn_clicked();

private:
    Ui::MyPlayer *ui;
};
#endif // MYPLAYER_H
